#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int f(int a) 
{
	return a % 2;
}
int main()
{
	int s[8] = { 1, 3, 5, 2, 4, 6 }, i, d = 0;
	for (i = 0; f(s[i]); i++) d += s[i];
	printf("%d\n", d);
	return 0;
}